package com.lzw.breezeNovel.model.entity.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.entity
 * @date 2025/3/2
 * @description 实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class Category extends BaseEntity {

    @Schema(description = "分类id")
    private Integer id;

    @Schema(description = "分类名称")
    private String name;

    @Schema(description = "分类类型")
    private Integer type;

    @Schema(description = "分类排序")
    private Integer sort;

    @Schema(description = "小说类型")
    private Integer bookType;

    @Schema(description = "分类图片")
    private String imgUrl;

    @Schema(description = "书籍数量")
    private Long bookCount;

}
